package com.younion.vo;

import cpcns.component.common.base.BaseVO;
import cpcns.persister.converter.IDomainObject;
import cpcns.persister.service.CompositeID;


 
public class ScoreRuleVO extends BaseVO implements IDomainObject,Cloneable{

	/**  */
	private static final long serialVersionUID = -1L;

 
	private Integer id;

 
	private Integer bottomLine;

	 
	private Integer topLine;

	 
	private Integer score;

 
	private String description;

	/**
	 * 
	 */
	public ScoreRuleVO() {
	}

	/** 
	 * @return the id
	 */ 
	public Integer getId() {
		return id;
	}

	/** 
	 * @param id the id to set 
	 */ 
	public void setId(Integer id) {
		this.id = id;
	}

	/** 
	 * @return the bottomLine
	 */ 
	public Integer getBottomLine() {
		return bottomLine;
	}

	/** 
	 * @param bottomLine the bottomLine to set 
	 */ 
	public void setBottomLine(Integer bottomLine) {
		this.bottomLine = bottomLine;
	}

	/** 
	 * @return the topLine
	 */ 
	public Integer getTopLine() {
		return topLine;
	}

	/** 
	 * @param topLine the topLine to set 
	 */ 
	public void setTopLine(Integer topLine) {
		this.topLine = topLine;
	}

	/** 
	 * @return the score
	 */ 
	public Integer getScore() {
		return score;
	}

	/** 
	 * @param score the score to set 
	 */ 
	public void setScore(Integer score) {
		this.score = score;
	}

	/** 
	 * @return the description
	 */ 
	public String getDescription() {
		return description;
	}

	/** 
	 * @param description the description to set 
	 */ 
	public void setDescription(String description) {
		this.description = description;
	}

	public CompositeID getCompositeID(){
		CompositeID _id = super.getCompositeID();
		_id.clear();
		if(id != null){
			_id.addKey("id", id);
		}
		return _id;
	}
}
